package com.cross.core;

/**
 * 有日志的写入器
 * 
 * 2009-5-11
 * 
 * @author craziness_stone
 */
public abstract class AbstractLogableWriter extends AbstractWriter implements
		LogableWriter {

	// 当前行日志,每写一行，记录写入过程中的过程日志
	private String currentLog;

	/**
	 * 写日志
	 * 
	 * 2009-5-11
	 * 
	 * @author craziness_stone cc
	 * @param log
	 */
	public void writerLog(String log) {
		this.currentLog = log;
		writerLog();
	}

	/**
	 * 行日志待实现方法
	 * 
	 * 2009-2-7
	 * 
	 * @author craziness_stone
	 * @return
	 */
	protected abstract void writerLog();
}
